//
//  PrefixHeader.h
//  快乐一点通
//
//  Created by cjp on 16/8/12.
//  Copyright © 2016年 cjp. All rights reserved.
//

#ifndef PrefixHeader_h
#define PrefixHeader_h

#import "UIView+Extension.h"
#import "UIBarButtonItem+Extension.h"
#import "Const.h"

//首页接口
//段子
#define LeeJokeURL @"http://120.55.151.67/weibofun/weibo_list.php?apiver=20000&category=weibo_jokes&page=0&page_size=30&max_timestamp=-1&latest_viewed_ts=1470985620&platform=iphone&appver=2.0&buildver=2000014&udid=22F36C8F-5EA7-4369-9079-4D2CCE0C1970&sysver=7.1.2"
//趣图
#define LeeFunnyURL @"http://120.55.151.67/weibofun/weibo_list.php?apiver=20000&category=weibo_pics&page=0&page_size=30&max_timestamp=-1&latest_viewed_ts=1470986100&platform=iphone&appver=2.0&buildver=2000014&udid=22F36C8F-5EA7-4369-9079-4D2CCE0C1970&sysver=7.1.2"
//美女
#define LeeBeautyURL @"http://120.55.151.67/weibofun/weibo_list.php?apiver=20000&category=weibo_girls&page=0&page_size=30&max_timestamp=-1&latest_viewed_ts=1470986100&platform=iphone&appver=2.0&buildver=2000014&udid=22F36C8F-5EA7-4369-9079-4D2CCE0C1970&sysver=7.1.2"


#define MovieURLNEW @"http://dailyapi.ibaozou.com/api/v1/videos/latest"
#define MovieURL @"http://dailyapi.ibaozou.com/api/v1/videos/latest?timestamp="

//搞笑
#define gaoxiaoImageUrl @"http://app.u17.com/v3/appV3/ios/phone/list/commonComicList?argCon=2&argName=theme&argValue=1&device_id=B45FB7BA-1FEE-4274-A1C2-991428D1BDB2&model=iPhone&page=2&time=1471092383&version=3.1.1"
//漫画详情
#define xiangqiangImageUrl @"http:app.u17.com/v3/appV3/ios/phone/comic/detail_static?comicid=110239&device_id=B45FB7BA-1FEE-4274-A1C2-991428D1BDB2&model=iPhone&time=1471093324&version=3.1.1"

//单例声明
#define singleton_interface(className) \
+ (instancetype)shared##className

// 设置控制器背景颜色
#define RGBColor(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

#define GlobalBg RGBColor(221,231,247)










#endif /* PrefixHeader_h */
